Unit Ultrasonic-IO is a GPIO interface ultrasonic distance measurement sensor. The hardware uses the RCWL-9620 ultrasonic distance measurement single-chip combined with a 16 mm probe, capable of achieving precise distance measurement within the range of 2 cm-450 cm (accuracy up to ±2%). After the controller sends a trigger signal, the sensor outputs a pulse duration corresponding to the sound wave reflection time, and the distance can be calculated from this data. The IO control method gives this sensor an extremely fast response speed, making it very suitable for applications such as robot obstacle avoidance and liquid level detection.
Note: When measuring distances greater than 3.5m, the distance measurement data response will be slightly delayed.
Features
RCWL-9620
GPIO communication interface
Range: 2cm-450cm
Protective cover for more stable circuit operation
Built-in temperature compensation to reduce the impact of probe temperature drift
Question: How to handle excessive echo time or distance measurement failure of the ultrasonic sensor?
If the sensor's echo time is too long or no echo is detected, it may be because the ultrasonic sensor is too close to the obstacle, or the ultrasonic waves cannot reflect properly on certain materials. You can adjust the sensor's working range to keep the measurement target at a certain distance from the sensor.
Question: Can multiple ultrasonic sensors be used simultaneously?
Yes, you can use multiple ultrasonic sensors. Assign different Trigger and Echo pins to each sensor and measure and process them separately in the code.